<template>
	<view class="content">
		<view class="title">
			<image :src="menuinfos.image" mode=""></image>
			<text>{{menuinfos.name}}</text>
			<view class="menuinfos" v-html="menuinfos.contont"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				menuinfos:{}
			}
		},
		onLoad(options) {
		   this.id =options.id	
			 this.menuinfo()
		},
		methods: {
			menuinfo(){
				this.$ajax(
				this.apiList.menuinfo,
				{
					id:this.id
				},
				'POST'
				).then(res=>{
					this.menuinfos = res.data
					console.log(this.menuinfos);
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		& .title{
			width: 100%;
			box-sizing: border-box;
			height: 750upx;
			text-align: center;
			& image{
				width: 100%;
				height: 750rpx;
				margin-bottom: 30upx;
			}
			& text{
				font-size:40upx;
				font-family:PingFang SC;
				font-weight:bold;
				color: rgba(66, 66, 66, 1);
			}
		}
	}

</style>
